﻿#if UNITY_EDITOR
using System.Xml.Serialization;
/// <summary>
/// 缓存Xml目录
/// </summary>
[XmlRoot("CacheXmlCatalog")]
public class ESF_Xml_CacheXmlCatalog
{
    /// <summary>
    /// 语言包
    /// </summary>
    [XmlElement("语言包")]
    [ESF_GUIOperation()]
    [ESF_GUISeparator()]
    [ESF_ArrayMaxLength(typeof(enESF_AllLanguageClassify))]
    public ESF_Xml_CacheXmlCatalog_Lang[] langs;
}

/// <summary>
/// 缓存Xml目录语言包子项
/// </summary>
[XmlRoot("CacheXmlCatalog_Lang")]
public class ESF_Xml_CacheXmlCatalog_Lang
{
    /// <summary>
    /// 语言类别
    /// </summary>
    [XmlElement("语言类别")]
    public enESF_AllLanguageClassify classify;

    [XmlElement("目录")]
    [ESF_GUIOperation()]
    [ESF_PathSelect(enESF_PathSelectCatalogClassify.InternalAssets, enESF_PathSelectAssetClassify.Folder)]
    public string path;
}
#endif

